<template>
	<view class="container">
		<view class="tou">
			<image :src="icon" style="width: 40px; height: 40px;" class="imaged"></image>
			<text class="user">{{username}}</text>
		</view>
		<view style="width: 100%;">
			<view class="entries">
							<view style="width: 90%; height: 1rpx; background-color: #CCC;margin-top: 35rpx;"></view>
							<view class="entry">
								<image src="../../static/UserInfo.png" alt="" style="width: 30px;height: 30px;margin: 12rpx 0rpx 12rpx 0rpx;">
								</image>
								<text style="margin-top: 8px;margin-right: 50px">个人信息</text>
								<image src="../../static/more.png" style="width: 30px; height: 30px; margin: 15rpx 0rpx 15rpx 0rpx;"></image>
			</view>
			<view style="width: 90%; height: 1rpx; background-color: #CCC;margin-bottom: 10px;"></view>
			<view class="entry">
				<img src="../../static/purchaseorder.png" style="width: 30px;height: 30px;margin-top: 2px;" />
				<text style="margin-top: 5px;margin-right: 50px">订单列表</text>
				<image src="../../static/more.png" style="width: 30px; height: 30px;"></image>
			</view>
			<view style="width: 90%; height: 1rpx; background-color: #CCC;margin-bottom: 10px;"></view>
			<view class="entry">
				<img src="../../static/modify-password.png"
					style="width: 30px;height: 30px; margin: 0rpx 0rpx 10rpx 0rpx;" />
				<text style="margin-top: 5px;margin-right: 50px">修改密码</text>
				<image src="../../static/more.png" style="width:30px; height: 30px; margin: 0rpx 0rpx 10rpx 0rpx;">
				</image>
			</view>
			<view style="width: 90%; height: 1rpx; background-color: #CCC;margin-bottom: 10px;"></view>
			<view class="entry">
				<image src="../../static/yijianfankui.png" alt="" style="width: 30px;height: 30px;"></image>
				<text style="margin-top: 5px;margin-right: 50px">意见反馈</text>
				<image src="../../static/more.png" style="width: 30px; height: 30px; margin: 0rpx 0rpx 10rpx 0rpx;">
				</image>
			</view>
			<view style="width: 90%; height: 1rpx; background-color: #CCC;margin-bottom: 5px;"></view>

		</view>
		<button type="primary" style="margin-top: 50px;">退出</button>
	</view>
	</view>

</template>

<script>
	export default {
		data() {
			return {
				icon: '/static/head_icon.png',
				username: 'tom'
			}
		}
	}
</script>

<style>
	page {
		width: 100%;
	}

	.container {
		display: flex;
		flex-direction: column;
		width: 100%;
		height: 100%;
	}

	.entries {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.entry {
		display: flex;
		flex-direction: row;
		height: 40px;
		width: 90%;
		justify-content: space-between;
	}

	.entry>text {
		display: block;
		height: 40px;
		width: 200px;
		padding-left: 15px;
	}

	.imaged {
		margin: 100rpx 0rpx 60rpx 80rpx;
		border-radius: 50%;
		display: inline;
		float: left;
	}

	.user {
		display: inline;
		float: left;
		margin: 120rpx 0rpx 0rpx 110rpx;
	}

	.tou {
		display: inline;
	}

	button {
		width: 90%;
	}
</style>